package com.kangye.learnteacher.mapper;

import com.kangye.learnteacher.entity.Grade;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface GradeMapper {
    List<Grade> getGrade(Integer page, Integer limit, @Param("grade_name")String gradeName);
    /*修改*/
    Integer upGrade(Grade grade);
}
